{include file="common_top.html"}
{include file="common_head.html"}
{include file="common_center.html"}
<div class="app-wrapper">
	{include file="common_appheader.html"}
	<div class="app-body">
		<div class="content clearfix">
			<div class="block-login mgt15">
				<div class="main">
					<h2>登录<strong></strong></h2>
					<form method="post" action="/index.php?a=member&m=login">
						<input type="hidden" name="callback" value="{$params.callback|htmlspecialchars}" />
						<input type="hidden" name="submit" value="1" />
						<div class="element default">
							<label for="account"><strong>账号</strong></label>
							<label class="label">
								<input type="text" class="dy-text {if $error.account}error{/if}" name="account" value="{$params.account|htmlspecialchars}" data-dy_tips="#dy-tips-account" />
								<span id="dy-tips-account">账号 / 邮箱 / 手机号码</span>
							</label>
							{if $error.account}<span class="msgerr dy_oncemsg" data-event="focus" data-target="input[name=account]">{$error.account.message}</span>{/if}
						</div>
						<div class="element default">
							<label for="password"><strong>密码</strong></label>
							<input type="password" class="dy-text" name="password" />
							{if $error.password}<span class="msgerr dy_oncemsg" data-event="focus" data-target="input[name=password]">{$error.password.message}</span>{/if}
						</div>
						{if $show_captcha}
							<div class="element dy_captcha" data-url="/index.php?a=index&m=captcha&wh=270x54" data-width="200" {if $error.captcha}data-msgerr="{$error.captcha.message}"{/if}></div>
						{/if}
						<div class="element control">
							<input type="submit" class="dy-button blue" value="登录" />
							<label>
								<input type="checkbox" name="remember" value="1" {if $params.remember}checked="checked"{/if} />
								<strong>保持登录状态</strong>
							</label>
						</div>
						<div class="element">
							<select name="connect" class="dy_select" data-text="使用关联账号登录" data-type="jump" data-width="281" data-height="243">
								{foreach from=$connects item=v key=k}
								<option value="/index.php?a=connect&m=login&name={$k}&r=authorize&callback={$params.callback|urlencode}">{$v}</option>
								{/foreach}
							</select>
						</div>
					</form>
					<ul class="links"><li><a href="/index.php?a=support&m=login" target="_top">无法访问您的帐户？</a></li></ul>
				</div>
			</div>
			{include file="member_login/$product.html"}
		</div>
	</div>
	{include file="common_appfooter.html"}
</div>
{include file="common_bottom.html"}
